package com.gc.sql.test;

public final class AliasName extends Object {
    private AliasConstant aliasConstant;
    
    private Name name;
    
    public AliasName(AliasConstant aliasConstant, Name name) {
        this.aliasConstant = aliasConstant;
        this.name = name;
    }
    private AliasName() {
    }
    public static AliasConstantBuilder builder() {
        AliasName self = new AliasName();
        return self.new AliasConstantBuilder ();
    }
    public class AliasConstantBuilder extends Object {
        private AliasConstantBuilder () {}
        public NameBuilder aliasConstant(AliasConstant aliasConstant) {
            AliasName.this.aliasConstant = aliasConstant;
            return AliasName.this.new NameBuilder ();
        }
    
    }
    public class NameBuilder extends Object {
        private NameBuilder () {}
        public AliasName name(Name name) {
            AliasName.this.name = name;
            return AliasName.this;
        }
    
    }
        @Override
        public String toString() {
            return String.valueOf(aliasConstant)+" "+String.valueOf(name);
        }

}
